
<!--Nội dung cột bên phải -->
<div class="contentRight-2">
    <div class="boxShadowRight-3">
        <div class="boxRightTop-3">
        </div>
        <div class="boxRighMiddle-3" style="min-height: 630px;">
            <div class="lineTitleRight-1">
                <div class="book_bg">              
                    <span>
                        Đổi mật khẩu
                    </span>
                </div>
                <div id="MainContent_ctl07_divContent" class="" style="margin-left: 80px;">
                    <?php
                    $form = $this->form;
                    $form->setAttribute('action', $this->url('personal/process', array('action' => 'changePassword',)));
                    echo $this->form()->openTag($form);
                    ?>
                    <div class="searchRow">
                        <div class="labelSearch-1" style="text-align: left">
                            <span id="MainContent_ctl07_Label1">Mật khẩu cũ:</span>&nbsp;
                        </div>
                        <div class="fl">
                            <?php echo $this->formInput($form->get('oldPassword')); ?>
                        </div>
                    </div>
                    <div class="searchRow">
                        <div class="labelSearch-1" style="text-align: left">
                            Mật khẩu mới:
                        </div>
                        <div class="fl" >
                            <td>
                                <?php echo $this->formInput($form->get('newPassword')); ?>
                            </td>
                        </div>
                    </div>
                    <div class="searchRow">
                        <div class="labelSearch-1" style="text-align: left">
                            Xác nhận mật khẩu mới:
                        </div>
                        <div class="fl">
                            <?php echo $this->formInput($form->get('confirmPassword')); ?>
                        </div>
                    </div>
                    <div class="searchRow" style="padding-bottom: 15px">
                        <div class="labelSearch">
                            &nbsp;</div>
                        <div class="fl" style="padding-left: 6px; color: red;">
                            <?php if (isset($myMessage)): ?>
                                <?php
                                foreach ($myMessage as $key => $message) {
                                    if ($message == 'changePassOK') {
                                        echo "Đổi mật khẩu thành công";
                                    } else if ($message == 'changePassError') {
                                        echo "Đã có lỗi xảy ra. Đổi mật khẩu không thành công";
                                    }
                                }
                                ?>
                            <?php endif; ?>
                        </div>
                    </div>
                    <div class="searchRow" style="padding-bottom: 15px">
                        <div class="labelSearch">
                            &nbsp;</div>
                        <div class="fl" style="padding-left: 6px">
                            <span class="btnGray">
                                <?php echo $this->formInput($form->get('changePassword')); ?>
                            </span><span class="btnGray">
                                <input type="reset" name="" value="Reset" id="MainContent_ctl07_btnReset" />
                            </span>
                        </div>
                    </div>
                    <?php echo $this->form()->closeTag($form); ?>
                </div>
            </div>
            <div style="margin: 40px 8px 8px 8px;display: block;">
            </div>
        </div>
        <div class="boxRighBottom-3">

        </div>
    </div>
</div>